package com.platform.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.platform.dao.ApiWarmClassMapper;
import com.platform.entity.WarmClassVo;

/**
 * 暖课课程Service实现类
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-11-01 16:50:05
 */
@Service
public class ApiWarmClassService {
    @Autowired
    private ApiWarmClassMapper warmClassDao;

     
    public WarmClassVo queryObject(Integer id) {
        return warmClassDao.queryObject(id);
    }

     
    public List<WarmClassVo> queryList(Map<String, Object> map) {
        return warmClassDao.queryList(map);
    }

     
    public int queryTotal(Map<String, Object> map) {
        return warmClassDao.queryTotal(map);
    }

    public List<WarmClassVo> queryIsPayList(Map<String, Object> map) {
        return warmClassDao.queryIsPayList(map);
    }


    public int queryIsPayTotal(Map<String, Object> map) {
        return warmClassDao.queryIsPayTotal(map);
    }

     
    public int save(WarmClassVo warmClass) {
        return warmClassDao.save(warmClass);
    }

     
    public int update(WarmClassVo warmClass) {
        return warmClassDao.update(warmClass);
    }

     
    public int delete(Integer id) {
        return warmClassDao.delete(id);
    }

     
    public int deleteBatch(Integer[]ids) {
        return warmClassDao.deleteBatch(ids);
    }
}
